package com.xinsoft.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 盘盈入库明细
 * @TableName scm_inventory_profit_instock_item
 */
@TableName(value ="scm_inventory_profit_instock_item")
@Data
public class ScmInventoryProfitInstockItem implements Serializable {
    /**
     * 盘盈入库明细id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 盘盈入库id
     */
    private Integer profitInstockId;

    /**
     * 物料ID
     */
    private Integer materialId;

    /**
     * 入库数量
     */
    private BigDecimal instockNum;

    /**
     * 辅助单位
     */
    private Integer assistUom;

    /**
     * 入库辅助数量
     */
    private BigDecimal instockassistNum;

    /**
     * 换算系数
     */
    private BigDecimal convCoefficient;

    /**
     * 库存批次
     */
    private String batch;

    /**
     * 仓库ID
     */
    private Integer warehouseId;

    /**
     * 库位ID
     */
    private Integer warehItemId;

    /**
     * 含税单价
     */
    private BigDecimal taxUnitPrice;

    /**
     * 不含税单价
     */
    private BigDecimal unitPrice;

    /**
     * 税率
     */
    private BigDecimal tax;

    /**
     * 含税总价
     */
    private BigDecimal taxTotalPrice;

    /**
     * 不含税总价
     */
    private BigDecimal totalPrice;

    /**
     * 备注
     */
    private String remark;

    /**
     * 源单主键
     */
    private Integer sourceId;

    /**
     * 源单类型
     */
    private Integer sourceType;

    /**
     * 源单编码
     */
    private String sourceCode;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}